<?php
/**
 * 定义常量
 */

define('SGME_VERSION', '0.0.1');
defined('APP_ROOT')         or define('APP_ROOT', str_replace('\\', '/', dirname(dirname(__FILE__))) . '/');
defined('APP_PATH')         or define('APP_PATH', APP_ROOT . 'app/');
defined('APP_VIEW_PATH')    or define('APP_VIEW_PATH', APP_ROOT . 'views/');
defined('PUBLIC_PATH')      or define('PUBLIC_PATH', APP_ROOT . 'public/');
defined('APP_STORAGE_PATH') or define('APP_STORAGE_PATH', APP_ROOT . 'storage/');
defined('APP_CONFIG_PATH')  or define('APP_CONFIG_PATH', APP_ROOT . 'config/');